package com.inforich.common.enums;

/**
 * @description: some desc
 * @author: HJM
 * @date: 2022/10/29
 */
public enum ApproveEnum implements IEnum<Integer> {

  /**
   * 草稿
   */
  DRAFT(10),
  /**
   * 待审核
   */
  REVIEW(20),
  /**
   * 审核通过
   */
  PASS(30),
  /**
   * 被驳回
   */
  REJECT(40);

  private Integer dbData;

  ApproveEnum(Integer dbData) {
    this.dbData = dbData;
  }

  public static final Integer APPROVE_STATUS_SUCCESS = 1;

  @Override
  public Integer getDbData() {
    return dbData;
  }
}
